<!DOCTYPE html>
<html lang="en">

	<head>
	
		<!-- Basic -->
    	<meta charset="UTF-8" />

		<title>博客系统登录</title>
	
		<!-- Mobile Metas -->
	    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		
		<!-- Import google fonts -->
       <!-- <link href='http://fonts.useso.com/css?family=Titillium+Web' rel='stylesheet' type='text/css'>-->
        
		<!-- Favicon and touch icons -->
		<link rel="shortcut icon" href="assets/ico/favicon.ico" type="image/x-icon" />
		<link rel="apple-touch-icon" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon.png')); ?>" />
		<link rel="apple-touch-icon" sizes="57x57" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon-57x57.png')); ?>" />
		<link rel="apple-touch-icon" sizes="72x72" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon-72x72.png')); ?>" />
		<link rel="apple-touch-icon" sizes="76x76" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon-76x76.png')); ?>" />
		<link rel="apple-touch-icon" sizes="114x114" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon-114x114.png')); ?>" />
		<link rel="apple-touch-icon" sizes="120x120" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon-120x120.png')); ?>" />
		<link rel="apple-touch-icon" sizes="144x144" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon-144x144.png')); ?>" />
		<link rel="apple-touch-icon" sizes="152x152" href="<?php echo e(asset('admin/assets/ico/apple-touch-icon-152x152.png')); ?>" />
		
	    <!-- start: CSS file-->
		
		<!-- Vendor CSS-->
		<link href="<?php echo e(asset('admin/assets/vendor/bootstrap/css/bootstrap.min.css')); ?>" rel="stylesheet" />
		<link href="<?php echo e(asset('admin/assets/vendor/skycons/css/skycons.css')); ?>" rel="stylesheet" />
		<link href="<?php echo e(asset('admin/assets/vendor/font-awesome/css/font-awesome.min.css')); ?>" rel="stylesheet" />
		
		<!-- Plugins CSS-->
		<link href="<?php echo e(asset('admin/assets/plugins/bootkit/css/bootkit.css')); ?>" rel="stylesheet" />	
		
		<!-- Theme CSS -->
		<link href="<?php echo e(asset('admin/assets/css/jquery.mmenu.css')); ?>" rel="stylesheet" />
		
		<!-- Page CSS -->		
		<link href="<?php echo e(asset('admin/assets/css/style.css')); ?>" rel="stylesheet" />
		<link href="<?php echo e(asset('admin/assets/css/add-ons.min.css')); ?>" rel="stylesheet" />
		
		<style>
			footer {
				display: none;
			}
		</style>
		
		<!-- end: CSS file-->	
	    
		
		<!-- Head Libs -->
		<script src="<?php echo e(asset('admin/assets/plugins/modernizr/js/modernizr.js')); ?>"></script>
		
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
			<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
		<![endif]-->		
		
	</head>

	<body>
		<!-- Start: Content -->
		<div class="container-fluid content">
			<div class="row">
				<!-- Main Page -->
				<div id="content" class="col-sm-12 full">
					<div class="row">
						<div class="login-box">
							<div class="panel">
								<div class="panel-body">								
									<div class="header bk-margin-bottom-20 text-center">										
										<!-- <img src="assets/img/logo.png" class="img-responsive" alt="" /> -->
										<h4>登录</h4>
										<?php if(session('msg')): ?>
										<p style="color:red;"><?php echo e(session('msg')); ?></p>
										<?php endif; ?>	
									</div>	

									<form class="form-horizontal login" action="" method="post">

									<?php echo e(csrf_field()); ?>

										<div class="bk-padding-left-20 bk-padding-right-20">
											<div class="form-group">
												<label>用户名</label>
												<div class="input-group input-group-icon">
													<input type="text" class="form-control bk-radius" name="user_name" placeholder="用户名"/>
													<span class="input-group-addon">
														<span class="icon">
															<i class="fa fa-user"></i>
														</span>
													</span>
												</div>
											</div>											
											<div class="form-group">
												<label>密码</label>
												<div class="input-group input-group-icon">
													<input type="password" class="form-control bk-radius" name="user_password" placeholder="密码"/>
													<span class="input-group-addon">
														<span class="icon">
															<i class="fa fa-key"></i>
														</span>
													</span>
												</div>
											</div>
											<div class="form-group">
												<label>验证码</label>
												<div class="input-group row">
													<div class="col-sm-6">
														<input type="text" class="form-control"  name="code" placeholder="验证码"/>
													</div>
													
													<div class="col-sm-6">
														<img style="border:1px solid gray;" src="<?php echo e(url('/admin/login/code')); ?>" alt="此处是验证码" onClick="this.src='<?php echo e(url('/admin/login/code')); ?>?'+Math.random()">
													</div>
												</div>
											</div>
											<div class="row bk-margin-top-20 bk-margin-bottom-10">
												<div class="col-sm-12 text-center">
													<button type="submit" class="btn btn-primary btn-lg">登录</button>
													<button type="submit" class="btn btn-primary btn-block btn-lg visible-xs bk-margin-top-20">Log In</button>
												</div>
											</div>										
											<!-- <p class="text-center">Don't have an account yet? <a href="page-register.html">Register!</a></p> -->
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>			
				</div>
				<!-- End Main Page -->
			</div>
		</div><!--/container-->
		
		
		<!-- start: JavaScript-->
		
		<!-- Vendor JS-->				
		<script src="assets/vendor/js/jquery.min.js"></script>
		<script src="assets/vendor/js/jquery-2.1.1.min.js"></script>
		<script src="assets/vendor/js/jquery-migrate-1.2.1.min.js"></script>
		<script src="assets/vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="assets/vendor/skycons/js/skycons.js"></script>	
		
		<!-- Plugins JS-->
		<script src="assets/plugins/bootkit/js/bootkit.js"></script>
		
		<!-- Theme JS -->		
		<script src="assets/js/jquery.mmenu.min.js"></script>
		<script src="assets/js/core.min.js"></script>
		
		<!-- Pages JS -->
		<script src="assets/js/pages/page-login.js"></script>
		
		<!-- end: JavaScript-->
		<script type="text/javascript">

		</script>
		
	</body>
	
</html>